package com.py.credit.utils;

import com.py.credit.entity.QyRateNum;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class DynamicMapUtil {

     public static int getMaxCount(QyRateNum data){
         List<Integer> list=new ArrayList<Integer>();
         list.add(data.getAaNum());
         list.add(data.getaNum());
         list.add(data.getbNum());
         list.add(data.getcNum());
         return Collections.max(list);
     }
}
